import request from '@/utils/request'

export function getAllRecords(params) {
    return request({
        url: '/province/reportExamine/getAllRecords',
        method: 'get',
        params
    })
}

export function getSingleRecord(params) {
    return request({
        url: '/province/reportExamine/getSingleRecord',
        method: 'get',
        params
    })
}

export function returnBackRecord(data) {
    // console.log('below in returnBackRecord.js')
    // console.log(data)
    return request({
        url: '/province/reportExamine/returnBackRecord',
        method: 'post',
        data
    })
}

export function passRecord(data) {
    // console.log('below in passRecord.js')
    // console.log(data)
    return request({
        url: '/province/reportExamine/passRecord',
        method: 'post',
        data
    })
}
